@width: 11.73rem;

// welcome 部分
.welcome {
  position: relative;
  width: 100%;
  height: 5.5rem;

  .w_img {
    img {
      width: 100%;
    }
  }

  .w_msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7.9rem;
    transform: translate(-50%, -50%);

    P {
      text-align: center;

      &:nth-of-type(1) {
        font-size: 0.4rem;
        color: #db1914;
        font-family: Achafita;
      }

      &:nth-of-type(2) {
        font-size: 0.4rem;
        color: #1d1d1d;
      }

      &:nth-of-type(3) {
        font-size: 0.15rem;
        color: #666666;
      }
    }

    &>div {
      position: relative;
      margin-top: 0.3rem;

      img {}

      .ps {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
        text-align: center;

        &>div:nth-of-type(1) {
          color: #db1914;
          font-size: 0.16rem;
        }

        &>div:nth-of-type(2) {
          color: #fff;
          font-size: 0.2rem;
        }
      }
    }
  }
}

// odder 部分 
.odder {
  width: @width;
  // height: 8.66rem;
  margin: 0 auto;
  margin-top: 1.1rem;
  &>div {
    display: flex;
    flex-direction: column;
    justify-content: start;

    .odder_title {
      width: 100%;
      text-align: center;
      p {
        &:nth-of-type(1) {
          font-size: 50px;
          color: #db1914;
          font-family: Achafita;
        }

        &:nth-of-type(2) {
          font-size: 0.4rem;
          font-family: OSBold;
        }
      }
    }
    .odder_item {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 100%;
      margin-bottom: 1.05rem;
      .item {
        display: flex;
        justify-content: flex-start;
        width: 5.7rem;
        height: 2.38rem;
        background-color: #ccc;
        margin-top: 0.3rem;
        .left {
          width: 2.4rem;
          height: 100%;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .right {
          width: 3.3rem;
          height: 100%;
          .r1 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            // height: 1.66rem;
            height: 70%;
            background-color: #f8f3e8;
            padding-left: 0.22rem;
            p {
              &:nth-of-type(1) {
                font-size: 0.18rem;
                color: #141313;
                font-family: OSBold;
                text-transform: uppercase;
              }
              &:nth-of-type(2) {
                width: 90%;
                font-size: 0.13rem;
                color: #666;
                font-family: OSLight;
              }
            }
          }
          .r2 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            // height: 0.72rem
            height: 30%;
            padding: 0 0.22rem;
            background: url(../images/item_bg.png) repeat;

            div {
              &:nth-of-type(1) {
                color: #fffefe;
                font-size: 0.18rem;
              }

              &:nth-of-type(2) {
                display: flex;
                justify-content: center;
                align-items: center;
                // width: 1.15rem;
                // height: 0.4rem;
                width: 115px;
                height: 40px;
                color: #fff;
                // font-size: 12px;
                font-size: 0.12rem;
                background-color: #d80702;
                transform: scale(0.8);
                transform-origin: left center;
              }
            }
          }
        }
      }
    }
  }
}

// post 部分
.post {
  position: relative;
  width: 100%;
  height: 7.25rem;
  img {
    width: 100%;
  }
 .text {
   position: absolute;
   width: 7rem;
   top: 50%;
   left: 3rem;
   transform: translateY(-50%);
   &>div {
    position: relative;
    &:nth-of-type(1) {
      font-size: 0.5rem;
      color: #d80702;
      font-family: Achafita;
    }
    &:nth-of-type(2) {
      font-size: 0.45rem;
      color: #fff;
      span {
        font-family: Achafita;
        color: #d80702;
      }
    }
    &:nth-of-type(3) {
      font-size: 0.15rem;
      color: #939292;
    }
    &:nth-of-type(4) {
      width: 115px;
      height: 40px;
      border: 1px solid #d80702;
      font-size: 0.15rem;
      color: #d80702;
      font-size: 12px;
      text-align: center;
      line-height: 40px;
      text-transform: uppercase;
      margin-top: 0.6rem;
    }
   }
  }
}

// news 部分
.news {
  width: 100%;
  // height: 600px;
  &>div {
    width: @width;
    height: 100%;
    margin: 0 auto;
    .title {
      text-align: center;
      .dv1 {
        font-size: 0.7rem;
        color: #d80702;
        font-family: Achafita;
      }
      .dv2 {
        font-size: 0.4rem;
        color: #141313;
        font-weight: 700;
        margin-top: -0.3rem;
        text-transform: uppercase;
      }
    }
    .new_items {
      display: flex;
      justify-content: space-between;
    margin-bottom: 2rem;

      li {
        width: 31%;
        height: 5rem;
        .dv1 {
          position: relative;
          &>img {
            width: 100%;
          }
          &>div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: absolute;
            bottom: -0.2rem;
            left: 50%;
            width: 90%;
            height: 0.44rem;
            padding: 0 0.2rem;
            transform: translateX(-50%);
            background-color: #db1914;
            .text {
              font-size: 12px;
              color: #fff;
            }
            .icons {
              i {
                width: 1px;
                height: 0.08rem;
                display: inline-block;
                background-color: #fff;
                margin: 0 0.1rem;
              }
            }
          }
        }
        .dv2 {
          margin-top: 0.55rem;
          p {
            &:nth-of-type(1) {
              font-family: OSBold;
              font-size: 0.21rem;
            }
            &:nth-of-type(2) {
              font-size: 0.14rem;
              color: #656565;
              line-height: 0.22rem;
              margin-top: 0.1rem;
            }
          }
        }
      }
    }
  }
}

// help us 部分
.help {
  width: 100%;
  &>div {
    width: @width;
    // height: 4.35rem;
    margin: 0 auto;
    padding-bottom: 1.1rem;
    .title {
      text-align: center;
      .dv1 {
        font-size: 0.7rem;
        color: #d80702;
        font-family: Achafita;
      }
      .dv2 {
        font-size: 0.4rem;
        color: #141313;
        font-weight: 700;
        margin-top: -0.3rem;
      }
    }
    .text {
      width: 100%;
      p  {
        width: 60%;
        font-size: 0.15rem;
        color: #666;
        margin: 0 auto;
        text-align: center;
        margin-top: 0.3rem;
      }
    }
    .imgs {
      display: flex;
      justify-content: center;
      width: 100%;
      margin-top: 0.35rem;
      div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 0.6rem;
        height: 0.6rem;
        background-color: #e7e7e7;
        border-radius: 50%;
        margin: 0 0.1rem;
        img {
          // width: 16px;
        }
      }
    }
    .inp_box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 78%;
      height: 0.85rem;
      background-color: #e7e7e7;
      margin: 0 auto;
      margin-top: 0.6rem;
      padding: 0 0.14rem;
      #inp {
        width: 80%;
        height: 0.6rem;
        color: #939292;
        &::placeholder {
          font-size: 12px;
          color: #a38f8f;
        }
        padding-left: 0.4rem;
      }
      &>div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20%;
        height: 0.6rem;
        background-color: #db1914;
        color: #fff;
        img {
          padding-left: 0.1rem;
        }
      }
    }
  }
}

@media screen and (max-width: 370px) {
  .welcome .w_msg>div {
    display: none;
  }
}

@media screen and (max-width: 590px) {
  .odder>div .odder_item {
    justify-content: center;
  }
  .post .text > div:nth-of-type(4) {
    width: 85px;
    height: 20px;
    line-height: 20px;
  }
  .news > div .new_items li .dv2 p:nth-of-type(1) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .news > div .new_items li .dv2 p:nth-of-type(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
}

@media screen and (max-width: 750px) and (min-width: 590px) {
  .odder {
    width: @width+5.5;
  }
}

@media screen and (max-width: 880px) {
  .odder > div .odder_title p:nth-of-type(1) {
    font-size: 1rem;
  }
  .odder>div .odder_item .item .right .r1 p:nth-of-type(2) {
    line-height: 12px;
  }

  .odder>div .odder_item .item {
    width: 260px;
    height: 110px;
  }

  .odder>div .odder_item .item .left {
    width: 110px;
  }

  .odder>div .odder_item .item .right {
    width: 150px;
  }
}

@media screen and (max-width: 1024px) {
  .welcome .w_msg P:nth-of-type(3) {
    display: none;
  }
  .news > div {
    width: @width+5;
  }
  .help > div .inp_box > div img {
    display: none;
  }
  .help > div .inp_box > div span {
    transform: scale(0.8);
    transform-origin: left center;
  }
}

@media screen and (max-width: 1140px) and (min-width: 750px) {
  .odder {
    width: @width+2;
    // justify-content: space-around;
  }
}

@media screen and (max-width: 1140px) {
  .odder>div .odder_item .item .right .r2 div:nth-of-type(2) {
    width: 100px;
    height: 30px;
  }
  .help > div .text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

@media screen and (max-width: 1250px) {
  .odder>div .odder_item .item .right .r1 p:nth-of-type(1) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  .odder>div .odder_item .item .right .r1 p:nth-of-type(2) {
    // width: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .post .text > div:nth-of-type(2), .post .text > div:nth-of-type(3) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  .post .text > div:nth-of-type(2) {
    -webkit-line-clamp: 2;
  }
}
@media screen and (max-width: 1140px) and (min-width: 590px) {
  .news > div .new_items li .dv2 p:nth-of-type(1) {
    overflow: hidden;//溢出隐藏
    white-space: nowrap;//禁止换行
    text-overflow: ellipsis;//...
  }
  .news > div .new_items li .dv2 p:nth-of-type(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
@media screen and (max-width: 1600px) {
  .news > div .new_items li .dv1 > div {
    justify-content: center;
  }
  .news > div .new_items li .dv1 > div .icons {
    display: none;
  }
  .news > div .new_items li .dv1 > div .text {
    overflow: hidden;//溢出隐藏
    white-space: nowrap;//禁止换行
    text-overflow: ellipsis;//...
  }
}


















